package com.dragon.modules.yuegou.model.member;

import com.dragon.modules.yuegou.entity.member.GrowLogEntity;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * 成长值记录表模型类
 * 
 * @author pbuilder generated
 * @date 2021-12-20 16:11:48
 * @company sgy
 * @version 2.0
 * @see Length 长度限制
 * @see NotNull 对象非空
 * @see NotEmpty 字符串、集合、表、数组非空
 */
public class GrowLog extends GrowLogEntity {

	/**
	 * 构造一个空成长值记录表模型对象
	 */
	public GrowLog(){
		super();
	}
	
	/**
	 * 依据实体对象的信息构造一个成长值记录表模型对象
	 * 
	 * @param entity 实体对象
	 */
	public GrowLog(GrowLogEntity entity){
		super(entity);
	}

	/**
	 * 依据其它对象的信息构造一个成长值记录表模型对象
	 * 
	 * @param other 其它对象
	 */
	public GrowLog(GrowLog other){
		super(other);
	}


	@Override
	public String getId() {
    	return id;
    }

    /**
	 * 设置id
	 * 
	 * @param id id
	 * @return 当前对象
	 */
    public GrowLog id(String id) {
    	this.id = id;
    	return this;
    }

	@Override
	public String getBusdId() {
    	return busdId;
    }

    /**
	 * 设置商圈id
	 * 
	 * @param busdId 商圈id
	 * @return 当前对象
	 */
    public GrowLog busdId(String busdId) {
    	this.busdId = busdId;
    	return this;
    }

	@Override
	public String getActionCode() {
    	return actionCode;
    }

    /**
	 * 设置操作类型
	 * 
	 * @param actionCode 操作类型
	 * @return 当前对象
	 */
    public GrowLog actionCode(String actionCode) {
    	this.actionCode = actionCode;
    	return this;
    }

	@Override
	public String getActionName() {
    	return actionName;
    }

    /**
	 * 设置操作名称
	 * 
	 * @param actionName 操作名称
	 * @return 当前对象
	 */
    public GrowLog actionName(String actionName) {
    	this.actionName = actionName;
    	return this;
    }

	@Override
	public Integer getCount() {
    	return count;
    }

    /**
	 * 设置成长值（增加正数，反之负数）
	 * 
	 * @param count 成长值（增加正数，反之负数）
	 * @return 当前对象
	 */
    public GrowLog count(Integer count) {
    	this.count = count;
    	return this;
    }

	@Override
	public String getMemberId() {
    	return memberId;
    }

    /**
	 * 设置会员ID
	 * 
	 * @param memberId 会员ID
	 * @return 当前对象
	 */
    public GrowLog memberId(String memberId) {
    	this.memberId = memberId;
    	return this;
    }

	@Override
	public String getMemberName() {
    	return memberName;
    }

    /**
	 * 设置会员名称
	 * 
	 * @param memberName 会员名称
	 * @return 当前对象
	 */
    public GrowLog memberName(String memberName) {
    	this.memberName = memberName;
    	return this;
    }

	@Override
	public Long getBeforeCount() {
    	return beforeCount;
    }

    /**
	 * 设置之前的成长值
	 * 
	 * @param beforeCount 之前的成长值
	 * @return 当前对象
	 */
    public GrowLog beforeCount(Long beforeCount) {
    	this.beforeCount = beforeCount;
    	return this;
    }

	@Override
	public Long getCurrentCount() {
    	return currentCount;
    }

    /**
	 * 设置当前的成长值
	 * 
	 * @param currentCount 当前的成长值
	 * @return 当前对象
	 */
    public GrowLog currentCount(Long currentCount) {
    	this.currentCount = currentCount;
    	return this;
    }

	@Override
	public String getContent() {
    	return content;
    }

    /**
	 * 设置说明内容
	 * 
	 * @param content 说明内容
	 * @return 当前对象
	 */
    public GrowLog content(String content) {
    	this.content = content;
    	return this;
    }

	@Override
	public LocalDateTime getCreatedTime() {
    	return createdTime;
    }

    /**
	 * 设置
	 * 
	 * @param createdTime 
	 * @return 当前对象
	 */
    public GrowLog createdTime(LocalDateTime createdTime) {
    	this.createdTime = createdTime;
    	return this;
    }

	@Override
	public String getCreatedBy() {
    	return createdBy;
    }

    /**
	 * 设置
	 * 
	 * @param createdBy 
	 * @return 当前对象
	 */
    public GrowLog createdBy(String createdBy) {
    	this.createdBy = createdBy;
    	return this;
    }

	@Override
	public LocalDateTime getModifiedTime() {
    	return modifiedTime;
    }

    /**
	 * 设置
	 * 
	 * @param modifiedTime 
	 * @return 当前对象
	 */
    public GrowLog modifiedTime(LocalDateTime modifiedTime) {
    	this.modifiedTime = modifiedTime;
    	return this;
    }

	@Override
	public String getModifiedBy() {
    	return modifiedBy;
    }

    /**
	 * 设置
	 * 
	 * @param modifiedBy 
	 * @return 当前对象
	 */
    public GrowLog modifiedBy(String modifiedBy) {
    	this.modifiedBy = modifiedBy;
    	return this;
    }

	@Override
	public Boolean getDel() {
    	return del;
    }

    /**
	 * 设置删除 0-未删除；1-已删除
	 * 
	 * @param del 删除 0-未删除；1-已删除
	 * @return 当前对象
	 */
    public GrowLog del(Boolean del) {
    	this.del = del;
    	return this;
    }

	@Override
	public LocalDateTime getDelTime() {
    	return delTime;
    }

    /**
	 * 设置
	 * 
	 * @param delTime 
	 * @return 当前对象
	 */
    public GrowLog delTime(LocalDateTime delTime) {
    	this.delTime = delTime;
    	return this;
    }

	@Override
	public String getDelBy() {
    	return delBy;
    }

    /**
	 * 设置
	 * 
	 * @param delBy 
	 * @return 当前对象
	 */
    public GrowLog delBy(String delBy) {
    	this.delBy = delBy;
    	return this;
    }

}
